/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package battleshipgame.logic;

/**
 *
 * @author אלירן
 */
public class Command {
    Player player ;
    Coordinate coordinate ;

    public Coordinate getCoordinate() {
        return coordinate;
    }

    public Player getPlayer() {
        return player;
    }

    public Command(Player player, Coordinate coordinate) {
        this.player = player;
        this.coordinate = coordinate;
    }
}
